<template>
	<div class="six">
		{{na}}---{{doarra}}
	  <button @click="add">点击按钮</button>
	</div>
</template>


<script>
import { createNamespacedHelpers } from 'vuex'

const { mapState, mapGetters } = createNamespacedHelpers('a')
const { mapMutations } = createNamespacedHelpers('b')

export default {
  name: 'Six',
  data(){
	  return{
	
	  }
  },
  computed:{
	...mapState(["na"]),
	...mapGetters(["doarra"]) 
  },
  methods:{
	...mapMutations(["add"])
  }
}
</script>

<style>
</style>